<!DOCTYPE html>
<html>
<head>
    <title>机器人聊天</title>
    <%- include('./head') %>
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <link rel='stylesheet' href='/stylesheets/robot.css' />
</head>
<body>
<div class="nav">
    <h1>机器人聊天</h1>

    <div class="user">
        <span> <%= data.user.name %> </span>
        <span class="signout"> 退出</span>
    </div>
</div>
<div class="content">
    <div class="box">
        <!--<div class="mess">
                <div class="icon">
                    哈哈
                </div>
                <div class="info">
                    <p>
                     <span class="name">
                          mannymu
                     </span>
                     <span class="time">2018-2-27</span>
                    </p>
                     <div class="mess-c">
                         消息消息
                     </div>
                </div>
        </div>-->

    </div>
    <div class="edit" >
        <textarea name="" rows="10" cols="10" onresize="false" class="message"></textarea>
        <div class="btn-wrap">
          <!--  <form action="/api/fileup" method="post"  id="formUp"  enctype="multipart/form-data" >
                <input type="file" id="imgsend" name="upload" value="发送图片"/>

            </form>-->
            <span class="btn">确认</span>
        </div>
    </div>
</div>

</body>
<script type="text/javascript" src="/javascripts/jquery.js"> </script>
<script src="/socket.io/socket.io.js"></script>
<script type="text/javascript">
    var userInfo = <%- data.userString %>;



</script>
<script type="text/javascript" src="/javascripts/robot.js"></script>
</html>
